package com.gupao.javap6.schemadesign.factory;

/**
 * 支付工厂
 *
 * @author withinfly(45度C)
 * @date 2020/2/24 22:13
 */
public final class PaymentFactory {
    private PaymentFactory(){}

    public static InPaymentFactory getInPaymentFactory() {
        InPaymentFactory inPaymentFactory = new InPaymentFactory();
        return inPaymentFactory;
    }

    public static OutPaymentFactory getOutPaymentFactory() {
        OutPaymentFactory outPaymentFactory = new OutPaymentFactory();
        return outPaymentFactory;
    }

}
